﻿namespace Smarly.Bussines.Extentions
{
	public static class MessageExtentions
	{
		public static string ToMessageValue(this bool value)
		{
			return value ? "1" : "0";
		}

		public static string ToMessageValue(this Message value)
		{
			return ((int)value).ToString();
		}
	}
}